Solve Advanced Cubic Equations